package com.skin.admin.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.skin.admin.entity.Goods;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author skin
 * @since 2018-08-03
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * 采用分页的方式做多表查询
     * @param page
     * @return
     */
    List<Goods> selectWithFile(Pagination page);
}
